Control of activities executed by endpoints based on conditions involving aggregated parameters

ABSTRACT

A method and system. One or more policies is stored. Each policy includes activities for execution on corresponding endpoints. At least one of the activities of the policies is conditioned by a condition based on one or more aggregated parameters. Each aggregated parameter depends on one or more local parameters of a corresponding group of endpoints. The local parameters are collected from the corresponding endpoints. The local parameters are aggregated into the aggregated parameters. Each aggregated parameter is distributed at least to the corresponding endpoints of each policy including any activity conditioned on the aggregated parameter. At least the corresponding policies are sent to the endpoints to cause each endpoint to apply each corresponding policy by collecting any aggregated parameters of the policy on the endpoint and executing the activities of the policy according to the corresponding aggregated parameters.

TECHNICAL FIELD

The present invention relates to control of activities executed byendpoints.

BACKGROUND

The management of endpoints of a data processing environment plays a keyrole in several contexts, especially in large organizations wherein thenumber of the endpoints may become very high (for example, up to somehundreds of thousands). For this purpose, various resource managementtools are available for facilitating the management of the endpoints.

However, current approaches to management of endpoints are not scalableand reactive.

SUMMARY

The present invention provides a method and associated system andcomputer program product. One or more processors of a computer systemstore one or more policies. Each policy comprises an indication of oneor more activities for execution on one or more corresponding endpoints.At least one of the activities of the policies is conditioned by acondition based on one or more aggregated parameters. Each aggregatedparameter depends on one or more local parameters of a correspondinggroup of a plurality of the endpoints. The one or more processorscollect the local parameters from the corresponding endpoints. The oneor more processors aggregate the local parameters into the aggregatedparameters. The one or more processors distribute each aggregatedparameter at least to the corresponding endpoints of each policycomprising any activity conditioned on the aggregated parameter. The oneor more processors send at least the corresponding policies to theendpoints to cause each endpoint to apply each corresponding policy bycollecting any aggregated parameters of the policy on the endpoint andexecuting the activities of the policy according to the correspondingaggregated parameters.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1A, depicts distributing policies to a plurality of endpoints of adata processing environment, in accordance with embodiments of thepresent invention.

FIG. 1B depicts local parameters aggregated into aggregated parameters,in accordance with embodiments of the present invention.

FIG. 1C depicts each aggregated parameter distributed to correspondingendpoints, in accordance with embodiments of the present invention.

FIG. 1D depicts each endpoint applying the corresponding policies asusual, in accordance with embodiments of the present invention.

FIG. 2 is a schematic block diagram of a data processing environment, inaccordance with embodiments of the present invention.

FIG. 3 depicts main software components that may be used to implementembodiments of the present invention.

FIGS. 4A-4B activity diagram describing the flow of activities, inaccordance with embodiments of the present invention.

FIG. 5 depicts a cloud computing environment according to an embodimentof the present invention.

FIG. 6 depicts abstraction model layers according to an embodiment ofthe present invention.

DETAILED DESCRIPTION

FIG. 1A depicts distributing policies to a plurality of endpoints of adata processing environment, in accordance with embodiments of thepresent invention. In one embodiment, the endpoints may be serviceservers. Each policy indicates one or more activities to be executed onthe endpoints.

According to an embodiment of the present invention, some of theactivities are conditioned by a condition that is based on one or moreaggregated parameters; each aggregated parameter depends on one or morelocal parameters of each endpoint of a group of endpoints. A localparameter is “local” to each endpoint (i.e., specific to each endpoint)of a group of endpoints, and an aggregated parameter aggregates thelocal parameter and is a function of the local parameter of eachendpoint of the group of endpoints. For example, a conditioned activitymay indicate the killing of a secondary process when the averageprocessing power, of a group of endpoints offering a same service,exceeds a threshold, wherein the local parameter is the processing powerof each endpoint and the aggregated parameter is the average processingpower of the group of endpoints which may be computed as an arithmeticaverage (e.g., unweighted average, weighted average, etc.) of the localprocessing powers. The local parameters are collected from thecorresponding endpoints (for example, by an aggregation service of thedata processing environment that collects the processing power usage ofeach endpoint of the group).

FIG. 1B depicts local parameters aggregated into aggregated parameters,in accordance with embodiments of the present invention. For example,the aggregation into the aggregated parameters may be performed by theaggregation service that calculates the average processing power usageof the endpoints of the group).

FIG. 1C depicts each aggregated parameter distributed to correspondingendpoints, in accordance with embodiments of the present invention. Eachpolicy comprising any activity conditioned on the aggregated parameteris to be applied, for example, by the aggregation service that transmitsthe aggregated parameter to a control server of the data processingenvironment, which in turn uploads the aggregated parameter to a localstorage of the corresponding endpoints.

FIG. 1D depicts each endpoint applying the corresponding policies asusual, in accordance with embodiments of the present invention. In oneembodiment, the endpoint collects any global parameter of each policy onthe endpoint and then executes the activities of the policy accordingly;i.e., by verifying a condition and then executing the activity only whenthe condition is fulfilled. For example, the endpoint may read theaverage processing power of the group of endpoints from the localstorage and then kill the secondary process if the average processingpower of the group of endpoints exceeds the threshold.

As a result of verifying the activity's condition and then executing theactivity only when the condition is fulfilled, the endpoints now becomeaware of the state of the whole data processing environment of theendpoints. The information that is available to the endpoints isextended allowing the endpoints to leverage not only information that isaccessible directly on the endpoints but also more general information(normally not accessible by the endpoints) that is collected andaggregated externally, which significantly increases the possibility ofdefining complex and structured conditions, thereby making theactivities that may be executed on the endpoints (to remedynon-compliance of the endpoints with the corresponding policies) moregranular and effective.

The above-mentioned result (i.e., making the activities that may beexecuted on the endpoints more granular and effective) is achievedwithout substantially undermining the policy-based paradigm. Indeed, theapplication of the corresponding policies on each endpoint is stilldirectly controlled by each endpoint, which maintains the workloaddistributed throughout the endpoints, with control of the endpoints thatremains scalable and reactive (and focused on the definition of thepolicies at a global level instead of on the control of the endpoints atan individual level).

FIG. 2 is a schematic block diagram of a data processing environment200, in accordance with embodiments of the present invention.

The data processing environment 200 has a distributed architecture basedon a communication network 205 (for example, the Internet). Severalcomputing machines (for example, implemented in one or more datacenters), are connected to the communication network 205. One of thecomputing machines (or more), referred to as control server 210,controls a plurality of other computing machines, referred to asendpoints or targets, 215 (according to a policy-based paradigm).

In the solution according to an embodiment of the present invention, thecontrol server 210 accesses a cloud provider 220 (or more) that isconnected to the communication network 205 as well. The cloud provider220 is an entity having one or more cloud nodes (for example,implemented by server computing machines, or simply servers, of one ormore data centers) that supply a pool of hardware and/or softwarecomputing resources as cloud services; i.e., shared computing resourcesthat may be allocated, configured and released very rapidly and whoseactual implementation is completely concealed. The computing resourcesof the cloud services (generally of the virtual type; i.e., emulationsby software of physical resources) are supplied upon request byproviding sole control of these computing resources, which may then beused exactly as if they were dedicated. For example, the cloud provider220 is based on a private cloud deployment model (for the control server210 only). As far as relevant to the present invention, the cloudservices comprise a software application, implementing an aggregation,or reporting, service (aggregating the local parameters into theaggregated parameters for use by the control server 210), which, in oneembodiment, may be supplied according to a Software As a Service, orSAS, service model.

Each data center 260 representative of the control server 210, theendpoints 215 and the cloud provider 220 comprises several computingunits 225 (for example, of the rack or blade type) and storage units 230(for example, of the RAID type) implementing mass-memories thereof. Eachcomputing unit 225 comprises one or more microprocessors (AP)controlling operation of: each computing unit 225, a non-volatile memory(ROM) storing basic code for a bootstrap thereof, and a volatile memory(RAM) used as a working memory by the microprocessors (not in FIG. 2).The data center 260 also comprises a console 235 for controlling thedata center 260 (for example, a personal computer, also provided with adrive for reading/writing removable storage units 240, such as opticaldisks like DVDs). A switch/router sub-system 245 controls anycommunications among the computing units 225, the storage units 230 andthe console 235, and with the communication network 205. The computingunits 225, the storage units 230 and the console 235 are connected tothe switch/router sub-system 245 through a cabling sub-system 250.

FIG. 3 depicts software components that may be used to implementembodiments of the present invention.

All the software components (programs and data) are denoted as a wholewith the reference 300. The software components are typically stored inthe mass memory and loaded (at least partially) into the working memoryof each computing machine of the above-described data processingenvironment when the programs are running, together with an operatingsystem and other application programs (not shown in FIG. 3). Theprograms are initially installed into the mass memory, for example, fromremovable storage units or from the communication network. In thisrespect, each program may be a module, segment or portion of code, whichcomprises one or more executable instructions for implementing thespecified logical function.

In one embodiment, a tool conforming to the policy-based paradigmcomprises a server-side component running on the management server 210and an endpoint-side component running on each endpoint 215.

Starting from the server-side component (on the control server 210), thesoftware components in FIG. 3 comprise the following softwarecomponents. An interface 305 (for example, of the GUI type) is used tocontrol the endpoints 215, by accessing (in read/write mode) a globalpolicy repository 310 and a global aggregated parameter repository 315.The global policy repository 310 stores the definition of one or morepolicies that are available to control the endpoints 215. The policiesare defined at high level, independently of an actual implementation ofthe endpoints 215. In one embodiment, each policy indicates anapplicability rule (called relevance), which defines the endpoints 215on which the policy has to be applied (for example, requiring a specificoperating system, a minimum microprocessor frequency). Moreover, thepolicy indicates a controlled sequence of activities that is to beexecuted on the corresponding (relevant) endpoints 215 to make theendpoints 215 compliant with the policy. Particularly, the policies maybe of one-shot type when each endpoint remains compliant with the policyonce the endpoint's activities have been executed thereon (for example,in case of configuration activities aimed at configuring the endpoint,such as by installing a software program, a patch). Conversely, thepolices may be of continuous type when the compliance with the policychanges over time (for example, in case of remediation activities aimedat remedying any critical state of the endpoint, such as by killing orrelocating a process in order to maintain a desired level ofperformance). Some of the activities (and especially activities of thepolicies of the continuous type) are conditioned by a condition that isbased on one or more parameters. The parameters may be local when theparameters are defined by metrics of corresponding hardware or softwarecharacteristics of the endpoint 215 where the policy is applied. Forexample, the local properties may measure the performance of theendpoint 215 (such as an average response time of a software applicationrunning on the endpoint), the workload of the endpoint 125 (such as acurrent number of users of the software application), the resource usageof the endpoint 215 (such as the endpoint's processing power usage), thelocation of the endpoint 215 (such as the endpoint's GPS coordinates),the user behavior of the endpoint 125 (such as the type of requestssubmitted by the endpoint's users). The parameters may instead beaggregated when the parameters depend on one or more local parameters ofa corresponding group of (multiple) endpoints 215. The group ofendpoints 215 may be defined either statically (such as all theendpoints 215 of a specific data center) or dynamically according to oneor more corresponding local parameters (such as all the endpoints 215whose location is in a specific geographical area, such as a city). Theglobal aggregated parameter repository 315 stores a definition of eachaggregated parameter (indicating how each aggregated parameter iscalculated from the local parameters of the group of endpoints) and eachaggregated parameter's current value. The interface 305 also accesses(in read mode) an endpoint repository 320, which stores stateinformation of each endpoint 215 In one embodiment, the stateinformation indicates characteristics of the endpoints 215 used todetermine the policies to be applied to the endpoints 215 (for example,the endpoint's operating system and microprocessor frequency retrievedby an inventory process), the policies that have been deployed to theendpoint 215 and the endpoint's compliance with the policies (i.e.,whether the application of each policy has succeeded or failed). Theinterface 305 may be used by a system administrator to maintain (i.e.,create, update, delete) the definition of the policies and of theaggregated parameters, and to inspect the state information of theendpoints 215.

A policy deployer 325 is used to deploy the policies to thecorresponding endpoints 215 (for example, via an ad-hoc deploymentinfrastructure, not shown in FIG. 3). For this purpose, the policydeployer 325 accesses (in read mode) the global policy repository 310and accesses (in read/write mode) the endpoint repository 320. Thepolicy deployer 325 as well exposes a user interface (for example, aGUI), which may be used by the system administrator to enforce thedeployment of the policies (for example, according to a plan).

The policy deployer 325 further accesses (in write mode) a mapping table330. The mapping table 330 stores a mapping of each aggregated parameterto the corresponding endpoints, wherein each policy comprising anyactivity conditioned on the aggregated parameter is to be applied. Anaggregated parameter distributor 335 is used to distribute the currentvalue of the aggregated parameters to the corresponding endpoints 215.For this purpose, the aggregated parameter distributor 335: accesses (inread mode) the policy repository 310, accesses (in read/write mode) theglobal aggregated parameter repository 315, and accesses (in read mode)the mapping table 330.

Moving to the endpoint-side component (on the endpoint 215), thesoftware components in FIG. 3 comprise the following softwarecomponents. An agent 340 is used to control the application of thecorresponding policies on the endpoint 215, by interacting with thepolicy deployer 325 and accessing (in write mode) a local policyrepository 345. The local policy repository 345 stores the definition ofthe corresponding policies that are to be applied to the endpoint 215and to the endpoint's compliance with the corresponding policies. Theagent 340 interacts with a policy applier 350, which is used to applythe policies on the endpoint 215 (by enforcing the activities of theendpoint 215). For this purpose, the policy applier 350 accesses (inread/write mode) the local policy repository 345 and it exploits one ormore collectors 355. The collectors 355 (referred to as localcollectors) are used to collect the current value of corresponding localparameters (for example, by calling an Application Program Interface(API) of the operating system). According to an embodiment of thepresent invention, a specific collector 355 (referred to as aggregatedparameter collector) is likewise used to collect the current values ofthe corresponding aggregated parameters, conditioning the activities ofthe policies to be applied on the endpoint 215. The aggregated parametercollector 355 accesses (in read/write mode) a local aggregated parameterrepository 360 which stores the current values of the correspondingaggregated parameters.

The aggregation service of the cloud provider 220 is implemented by thefollowing components. An aggregation controller 365 is used to providethe current values of the aggregated parameters. The aggregationcontroller 365 interacts with the aggregated parameter distributor 335(of the control server 210), which in turns interacts with theaggregated parameter collector 355 (of each endpoint 215). Moreover, theaggregation controller 365 accesses (in read/write mode) a serviceaggregated parameter repository 370. A service collector 375 is used tocollect the current values of the local parameters required forcalculating the aggregated parameters. For this purpose, the servicecollector 375 exploits the local collectors 355 of the correspondingendpoints 215 and accesses (in read mode) the service aggregatedparameter repository 370. Moreover, the service collector 375 accesses(in write mode) a local parameter repository 380. The local parameterrepository 380 stores the values of the local parameters that have beencollected over time from the corresponding endpoints 215 (for example,in the last month). An aggregator 385 is used to aggregate the localparameters into the aggregated parameters. For this purpose, theaggregator 385 accesses (in read mode) the local parameter repository380 and accesses (in write mode) the service aggregated parameterrepository 370.

The aggregation service 365-385 allows decoupling the collection of theaggregated parameters from the server-side components 305-335 (which mayremain focused on the control of the endpoints 215). As a furtherimprovement, the same aggregation service 365-385 may be exploited by aplurality of server-side components 305-335 (of different tools or ofdifferent instances of a same tool) and/or by multiple tenants of eachserver-side component 305-335, which allows saving computing resources(for collecting the aggregated parameters) and allows sharing the sameinformation among endpoints 215 referring to different server-sidecomponents 305-335 or to different tenants of components 305-335.

FIGS. 4A-4B depict an activity diagram describing the flow ofactivities, in accordance with embodiments of the present invention. Theactivity diagram of FIG. 4 represents an exemplary process that may beused to control the endpoints with a method 400. In this respect, eachblock in FIGS. 4A-4B may correspond to one or more executableinstructions for implementing the specified logical function on therelevant computing machines.

The process passes from block 402 to block 404 in the swim-lane of thecontrol server as soon as the system administrator, through theinterface 305, creates a (new) aggregated parameter or updates an(existing) aggregated parameter (i.e., definition of the aggregatedparameter) in the global aggregated parameter repository. In response,the aggregated parameter distributor notifies the (new/updated)definition of the aggregated parameter to the aggregation service. Theflow of activity then returns to the block 402 waiting for thecreation/update of a further aggregated parameter. Moving to block 406in the swim-lane of the aggregation service, at the same time theaggregation manager updates the service aggregated parameter repositoryaccordingly.

Returning to the swim-lane of the control server, the process passesfrom block 408 to block 410 as soon as the system administrator, throughthe interface 305, creates a (new) policy or updates an (existing)policy in the global policy repository. In response thereto, the policydeployer updates the mapping table accordingly. Particularly, for eachaggregated parameter of the (new/updated) policy that is not present inthe mapping table, a new entry is added for each aggregated parameter.In any case, the policy is associated with each aggregated parameterthereof (if it is necessary). The flow of activity then returns to theblock 408 waiting for the creation/update of a further policy.

In a completely independent way, the process passes from block 412 toblock 414 as soon as any policies have to be deployed to thecorresponding endpoints, the policies determined according toapplicability rules of the policies (for example, when an operation isscheduled in a plan). In response, the deployer makes the policies to bedeployed available for downloading to the corresponding endpoints (forexample, in the deployment infrastructure). Moving to block 416 in theswim-lane of each endpoint (only one endpoint shown in FIG. 4), theagent downloads the corresponding policies (for example, identified bymonitoring the deployment infrastructure periodically for availabilityof the policies) and saves the policies into the local policyrepository. Returning to the swim-lane of the control server, at thesame time the process descends from the block 414 to block 418, whereinthe policy deployer updates the mapping table accordingly. For eachpolicy that is deployed to a corresponding endpoint, the endpoint isassociated with every occurrence of the policy, and then with everyaggregated parameter of the policy. The flow of activity then returns tothe block 412 waiting for the deployment of any further policies.

In a completely independent way, the process passes from block 420 toblock 422 in the swim-lane of the aggregation service as soon as acorresponding time-out expires (for example, every 5-20 seconds). Inresponse thereto, the service collector determines the local parametersand the endpoints to be used for calculating all the aggregatedparameters (according to definitions of the local parameters in theservice aggregated parameter repository). In one embodiment, for eachaggregated parameter, the local parameters and the endpoints are used todefine the aggregated parameter, and possibly a group of endpoints areused. For example, an aggregated parameter based on the processing powerusage of the servers running a specific software application requiresthe processing power usage of these servers, whereas an aggregatedparameter based on the power processing usage of the smartphones in aspecific city requires the position of all the smartphones and theprocessing power usage of at least the smartphones that are currently inthe city. Continuing to block 424, the service collector submits arequest of collection of the current value of the corresponding localparameters to each endpoint. Moving to block 426 in the swim-lane ofeach endpoint (only the same endpoint that is in FIG. 4A), in responsethereto each local collector collects the current value of thecorresponding local parameter. The local collector then returns thecurrent value of the corresponding local parameter to the aggregationservice at block 428. With reference again to the swim-lane of theaggregation service at block 430, the service collector saves the valueof each local parameter into the corresponding repository as soon as thevalue of each local parameter is received from the endpoint (with a FIFOpolicy). The process continues to block 432 once the current value ofall the local parameters have been received (or in any case after apredefined time-out). At this point, the aggregator calculates thecurrent value of each aggregated parameter. For this purpose, at firstthe corresponding group of endpoints is determined. The (static) groupof endpoints is retrieved directly from the definition of the aggregatedparameter or the (dynamic) group of endpoints is determined according tothe values of the corresponding local parameters indicated in thedefinition of the aggregated parameter (for example, the smartphoneshaving their position within a specific city). The dynamic definition ofthe groups of endpoints adds a further degree of flexibility, byallowing defining the endpoints used to calculate the aggregatedparameters as well in real-time, which enriches the possibilities ofconditioning the activities, especially in particular situations (forexample, in case of endpoints implemented by mobile devices). Eachaggregated parameter is then calculated according to the values of thelocal parameters of the endpoints of the group of endpoints. In oneembodiment, the aggregated parameter may be based on the current valuesof the local parameters; i.e., the last values that have been collected(for example, the percentage of the endpoints having their processingpower usage exceeding a threshold). In addition or in alternative, theaggregated parameter may be based on a distribution of the values of thelocal parameters that have been collected over time (for example, theaverage of the processing power usage of the local parameters in thelast hour). Continuing to block 434, the aggregator uploads the valuesof the aggregated parameters so determined to the control server. Theflow of activity then returns to the block 420 waiting for a nextexpiration of the time-out.

With reference again to the swim-lane of the control server at bock 436,the aggregated parameter distributor saves the (new) values of theaggregated parameters received from the aggregation server into theglobal aggregated parameter repository (by replacing the previous valuesof the aggregated parameters, after saving the previous values into atemporary variable). A loop is then entered for processing theseaggregated parameters. The loop begins at block 438, wherein theaggregated parameter distributor takes a (current) aggregated parameterinto account (starting from a first aggregated parameter in anyarbitrary order). The aggregated parameter distributor then analyzes a(current) condition of a (current) policy based on the aggregatedparameter at block 440 (starting from a first aggregated parameter inany arbitrary order, as indicated in the mapping table and in the globalpolicy repository). The flow of activity branches at block 442. If thenew value of the aggregated parameter has changed significantly withrespect to the previous value of the aggregated parameter, the processdescends into block 444, which happens when the change of the aggregatedparameter affects the condition; i.e., the aggregated parameter changesits evaluation (for example, in a condition based on the comparison ofthe aggregated parameter with a threshold when the aggregated parameterpasses from lower than to higher than the threshold, or vice-versa). Inthis case, the aggregated parameter distributor flags the aggregatedparameter for distribution. The process then descends into block 446.The same point (i.e., block 446) is also reached directly from the block442 if no significant change of the aggregated parameter has occurred.In both cases of reaching block 446, a test is now made wherein theaggregated parameter distributor verifies whether a last condition ofall the policies has been taken into account. If not, the flow ofactivity returns to the block 440 to repeat the same operations for anext condition. Conversely, another test is performed at block 448,wherein the aggregated parameter distributor verifies whether a lastaggregated parameter has been taken into account. If not, the flow ofactivity returns to the block 438 to repeat the same operations for anext aggregated parameter. Conversely, the loop is exited by descendinginto block 450. At this point, the aggregated parameter distributoridentifies the endpoints that are mapped to each aggregated parameterbeing flagged for distribution (as indicated in the mapping table). Themapping of the aggregated parameters to the corresponding endpointsmakes this operation very fast, so that the impact of the mapping on theperformance of the control server is negligible. The aggregatedparameter distributor then uploads the new values of the (flagged)aggregated parameters to the corresponding endpoints so identified atblock 452. In this way, the distribution of the aggregated parameters tothe corresponding endpoints is performed only when it is actuallynecessary (for the application of the policies), so as to limit thetraffic on the communication network. Moving to block 454 in theswim-lane of each endpoint (only the same endpoint as shown in FIG. 4A),the aggregated parameter collector saves the new values of theaggregated parameters that have been uploaded into the local aggregatedparameter repository.

In a completely independent way, the process passes from block 456 toblock 458 in the swim-lane of each endpoint (only the same endpoint asshown in FIG. 4A) as soon as a corresponding time-out expires (forexample, every 1-5 seconds). In response, a loop is entered for applyingthe corresponding policies on the endpoint; i.e., all the policies ofcontinuous type (whose compliance therewith has to be monitored overtime) and the policies of one-shot type with which the endpoint is notcompliant yet (as indicated in the endpoint repository). The loop beginswith the policy applier that takes a (current) one of these policiesinto account by extracting the policy's definition from the local policyrepository (starting from a first policy in any arbitrary order).Continuing to block 460, the policy applier collects the values of any(local and/or aggregated) parameters of the policy by calling thecorresponding (local and/or aggregated parameter) collectors. In case ofany aggregated parameters, the aggregated parameter collector reads thevalue of the aggregated parameter from the local aggregated parameterrepository, so that the addition of the aggregated parameters iscompletely opaque to the policy applier. In other words, the aggregatedparameters are just an additional source of information for the policyapplier (which is updated by the control server every time the policychanges). The policy applier then enforces the activities of the policyon the endpoint at block 462. For this purpose, the policy appliercontrols the execution in succession of the policy's activities(suitably translated into actual commands that are recognized by theendpoint), according to any local/aggregated parameters thereof. Forexample, a configuration activity may involve the downloading of asoftware application package and its installation if the averageresponse time of the software application in the endpoints of the groupis higher than 1-2 seconds. On the other hand, a remediation activitymay involve the relocation of a process running on the endpoint toanother endpoint when the power processing usage of more than 50% of theendpoints of the group exceeds 90% or the killing of the same processwhen the power processing usage of more than 70% of the endpoints of thegroup exceeds 50%.

The preceding exemplary configuration activity and remediation activityare examples of activities that improve operation of a computer systemcomprising a group of endpoints, by implementing rules specified in thepolicy. The rules pertain to the aggregated parameters for the group ofendpoints. The preceding configuration activity of downloading asoftware application package and its installation is performed uponsatisfaction of the following rule: the average response time of thesoftware application in the endpoints of the group is higher than 1-2seconds, wherein the local parameter is the response time of eachendpoint of the group of endpoints and the aggregate parameter is theaverage response time of the group of endpoints. The precedingremediation activity of relocating a process running on the endpoint toanother endpoint is performed upon satisfaction of one of the followingrules: (i) the power processing usage of more than 50% of the endpointsof the group exceeds 90%; or (ii) the killing of the same process whenthe power processing usage of more than 70% of the endpoints of thegroup exceeds 50%, wherein the local parameter is the power processingusage of each endpoint of the group of endpoints and the aggregateparameter is the power processing usage of (i) 50% or (ii) 70% of theendpoints.

In any case, the policy applier saves a result of the application of thepolicy into the local policy repository (with any activities thereofthat is rolled-back in case of failure of the policy so as to restorethe state of the endpoint preceding its application). A test is now madeat block 464, wherein the policy applier verifies whether a last policyhas been applied. If not, the process returns to the block 458 to repeatthe same operations for a next policy. Conversely, once all the policieshave been applied, the loop is exited by descending into block 466. Atthis point, the policy applier uploads the results of the application ofthe policies to the control server. The flow of activity then returns tothe block 456 waiting for a next expiration of the time-out. Withreference again to the swim-lane of the control server at bock 468, atthe same time the policy deployer updates the endpoint repositoryaccordingly.

In order to satisfy local and specific requirements, a person skilled inthe art may apply many logical and/or physical modifications andalterations to the present disclosure. More specifically, although thisdisclosure has been described with a certain degree of particularitywith reference to one or more embodiments thereof, it should beunderstood that various omissions, substitutions and changes in the formand details as well as other embodiments are possible. Particularly,different embodiments of the present disclosure may even be practicedwithout the specific details (such as the numerical values) set forth inthe preceding description to provide a more thorough understandingthereof; conversely, well-known features may have been omitted orsimplified in order not to obscure the description with unnecessaryparticulars. Moreover, it is expressly intended that specific elementsand/or method steps described in connection with any embodiment of thepresent disclosure may be incorporated in any other embodiment as amatter of general design choice. In any case, each numerical valueshould be read as modified by the term about (unless already done) andeach range of numerical values should be intended as expresslyspecifying any possible number along the continuum within the range(comprising its end points). Moreover, ordinal or other qualifiers aremerely used as labels to distinguish elements with the same name but donot by themselves connote any priority, precedence or order. The termsinclude, comprise, have, contain and involve (and any forms thereof)should be intended with an open, non-exhaustive meaning (i.e., notlimited to the recited items), the terms based on, dependent on,according to, function of (and any forms thereof) should be intended asa non-exclusive relationship (i.e., with possible further variablesinvolved), the term a/an should be intended as one or more items (unlessexpressly indicated otherwise), and the term means for (or anymeans-plus-function formulation) should be intended as any structureadapted or configured for carrying out the relevant function.

For example, an embodiment provides a method for controlling a pluralityof endpoints in a data processing environment. However, the endpointsmay be in any number and of any physical and/or virtual type (forexample, clients, servers, PCs, smartphones, tablets, virtual machines),moreover, the endpoints may be provided in any data processingenvironment (for example, based on multiple physical machines connectedto any communication network such as the Internet or a LAN, or based ona single computing system hosting multiple virtual machines).

In an embodiment, the method comprises storing one or more policies.However, the policies may be stored anywhere (for example, in a separatedepot). Moreover, the policies may be in any number and of any type (forexample, of one-shot and/or continuous type for performance management,software product installation/maintenance, software license control,security vulnerability detection/remediation).

In an embodiment, each policy comprises an indication of one or moreactivities for execution on one or more corresponding endpoints.However, the activities may be in any number and of any type (forexample, APIs, scripts, executable programs for killing/relocatingprocesses, changing operative characteristics such as microprocessorfrequency, adding virtual disks, installing/maintaining softwareapplications, downloading/uploading data, acquiring licenseentitlements); moreover, the activities are for execution on any numberand type of endpoints (for example, all the endpoints indiscriminatelyor only the relevant endpoints determined in any way, either at thelevel of the control server or of each endpoint).

In an embodiment, at least one of the activities of the policies isconditioned by a condition based on one or more aggregated parameters.However, the conditions based on the aggregated parameters may be in anynumber and of any type (for example, combined with any operators such asAND, OR). Moreover, the conditions may be defined at the level of eithereach activity or the whole policy.

In an embodiment, each aggregated parameter depends on one or more localparameters of a corresponding group of a plurality of the endpoints.However, each aggregated parameter may depends on any number and type oflocal parameters (for example, relating to characteristics of the wholecomputing environment, such as number of nodes, network bandwidth of acloud provider). Moreover, the corresponding group may comprise anynumber and type of endpoints (for example, defined statically,dynamically or in any combination thereof).

In an embodiment, the method comprises collecting the local parametersfrom the corresponding endpoints. However, the local parameters may becollected in any way (for example, by invoking APIs, queries, scripts,executable programs in either push or pull mode).

In an embodiment, the method comprises aggregating the local parametersinto the aggregated parameters. However, the local parameters may beaggregated in any way (for example, periodically or only when theychange).

In an embodiment, the method comprises distributing each aggregatedparameter at least to the corresponding endpoints of each policycomprising any activity conditioned on the aggregated parameter.However, the aggregated parameters may be distributed in any way (forexample, in push or pull mode) to the corresponding endpoints only (forexample, determined centrally or individually be each endpoint) or toall of them indiscriminately.

In an embodiment, the method comprises deploying at least thecorresponding policies to the endpoints. However, the policies may bedeployed in any way (for example, in push or pull mode) to thecorresponding endpoints only (for example, determined centrally orindividually be each endpoint) or to all of them (with each endpointthat then verifies its relevance thereto).

In an embodiment, the deployment of the policies causes each endpoint toapply each corresponding policy by collecting any aggregated parametersof the policy on the endpoint and executing the activities of the policyaccording to the corresponding aggregated parameters. However, thepolicies may be applied in any way (for example, periodically or as soonthe corresponding aggregated parameters change). Moreover, theaggregated parameters may be collected in any way (either the same ordifferent with respect to the local parameters).

In an embodiment, at least one of the activities of the policies isconditioned by a further condition based on one or more further localparameters of a current one of the corresponding endpoints wherein thepolicy is applied. However, the conditions based on the further localparameters may be in any number and of any type (either the same ordifferent with respect to the aggregated parameters), again at the levelof each activity or of the whole policy. Moreover, the further localparameters may be in any number and of any type (either the same ordifferent with respect to the local parameters), and the localparameters may be used alone or in any combination with the aggregatedparameters.

In an embodiment, deploying at least the corresponding policies causeseach endpoint to apply each corresponding policy by collecting anyfurther local parameters of the policy on the endpoint and executing theactivities of the policy according to the corresponding further localparameters. However, the further local parameters may be collected inany way (either the same or different with respect to the localparameters and the aggregated parameters).

In an embodiment, distributing each aggregated parameter comprisesuploading each aggregated parameter to a local storage of at least thecorresponding endpoints. However, the aggregated parameters may beuploaded in any way (either directly or through an interposed module ofthe endpoints) to any local storage (for example, one or more file,tables, databases).

In an embodiment, deploying at least the corresponding policies causeseach endpoint to apply each corresponding policy by reading anyaggregated parameters of the policy from the local storage of theendpoint. However, the aggregated parameters may be read in any way (forexample, by APIs, queries, scripts, executable programs).

In an embodiment, the method comprises storing a mapping of theaggregated parameters to the corresponding endpoints. However, themapping may be performed in any way (for example, only when the policiesare deployed to the corresponding endpoints or even in real-time onlywhen the aggregated parameters are to be distributed) and the aggregatedparameters may be stored in any way (for example, in any memorystructure of the mass memory or even of the working memory).

In an embodiment, distributing each aggregated parameter comprisesidentifying the corresponding endpoints of each aggregated parameteraccording to the mapping. However, the corresponding endpoints may beidentified in any way (for example, by simply querying the endpointrepository).

In an embodiment, distributing each aggregated parameter comprisesdistributing each aggregated parameter to the corresponding endpointsbeing identified. However, the aggregated parameters may be distributedin any way to the endpoints so identified (for example, individually ortogether for each endpoint).

In an embodiment, distributing each aggregated parameter comprisesdistributing each aggregated parameter in response to a significantchange thereof affecting the corresponding condition. However, theaggregated parameters may be distributed in any other way (for example,in response to any change thereof or always indiscriminately).

In an embodiment, aggregating the local parameters comprises calculatingthe aggregated parameters according to a current value of thecorresponding local parameters. However, the aggregated parameters maybe calculated in any way according to the current value of thecorresponding local parameters (for example, as a number/percentagethereof having any specific property, such as higher or lower than athreshold, as any statistical indicators thereof, such as their mean,median over the group of endpoints).

In an embodiment, aggregating the local parameters comprises, inaddition or in alternative, calculating the aggregated parametersaccording to a distribution of the corresponding local parameters overtime. However, the aggregated parameters may be calculated in any wayaccording to the distribution of the corresponding local parameters (forexample, as a number/percentage of the occurrences of any specificevent, such as the exceeding of a threshold, as any statisticalindicators thereof, such as a mean or median of the distribution). Inany case, the aggregated parameters may be calculated only according tothe current values, only according to the distributions, in additional,different or alternative ways (for example, according to the changebetween consecutive values of the aggregated parameters) or in anycombination thereof.

In an embodiment, the method comprises determining the correspondinggroup of the endpoints of at least one of the aggregated parametersaccording to one or more still further local parameters of theendpoints. However, each group of endpoints may be determined in any wayaccording to the still further local parameters, which may be either thesame or different with respect to the local parameters used to conditionthe corresponding activity (for example, combined with any operatorssuch as AND, OR). I In any case, the groups of endpoints may bedetermined only statically, only dynamically according to the stillfurther local parameters, only dynamically according to additional,different or alternative criteria (for example, the current time, suchas working day or week-end) or in any combination thereof.

In embodiment, each local parameter measures performance, workload,resource usage, location and/or user behavior of the correspondingendpoint. However, the local parameters may measure any performance(such as average I/O rate), any workload (such as average number ofreceived requests), any resource usage (such as memory space available),any location (for example, accessed wireless communication network), anyuser behavior (such as average session length), additional, different oralternative metrics (for example, installed software applications,operative mode such as production or test) or any combination thereof.

In an embodiment, storing one or more policies, distributing eachaggregated parameter and deploying at least the corresponding policiesare performed by one or more control servers of the data processingenvironment. However, the control servers may be in any number and ofany physical/virtual type (for example, with these functions that areconcentrated in a single computing machine or distributed throughout twoor more computing machines). In any case, the possibility ofimplementing one or more of these functions locally on the endpoints isnot excluded.

In an embodiment, collecting the local parameters and aggregating thelocal parameters are performed by one or more aggregation servers of thedata processing environment. However, the aggregation servers may be inany number and of any physical/virtual type (for example, with thesefunctions that are concentrated in a single computing machine ordistributed throughout two or more computing machines). In any case, thepossibility of implementing one or more of these functions by thecontrol servers directly or even locally on the endpoints is notexcluded (up to all of the functions without any aggregation server).

In an embodiment, the method comprises providing the aggregatedparameters from the aggregation servers to the control servers. However,the aggregated parameters may be provided from the aggregation serversto the control servers in any way (for example, in push or pull mode,either uploading them directly or through an interposed module of thecontrol servers).

In an embodiment, providing the aggregated parameters comprisesproviding the aggregated parameters from each aggregation server to aplurality of the control servers and/or to a plurality of tenants ofeach control server. However, the aggregated parameters may be providedfrom each aggregation server to any number of control servers, to anynumber of tenants of each control server, to a single tenant of a singlecontrol server, or to any combination thereof.

In an embodiment, at least one of the aggregation servers is implementedby a cloud service. However, the cloud service may be of any type (forexample, public, private, hybrid). In any case, the possibility ofimplementing the aggregation servers in any other way is not excluded(for example, in a standard client-server architecture).

Generally, similar considerations apply if the same solution isimplemented with an equivalent method (by using similar steps with thesame functions of more steps or portions thereof, removing some stepsbeing non-essential, or adding further optional steps). Moreover, thesteps may be performed in a different order, concurrently or in aninterleaved way (at least in part).

An embodiment provides a computer program configured for causing acomputing system to perform the above-mentioned method when the computerprogram is executed on the computing system. An embodiment provides acomputer program product, the computer program product comprising acomputer readable storage medium having program instructions embodiedtherewith, the program instructions being executable by a computingsystem to cause the computing system to perform the same method.However, the software program may be implemented as a stand-alonemodule, as a plug-in for a pre-existing software program (for example,the tool and particularly its server-side component), or even directlyin the latter, moreover, the software program may run on any computingsystem (see below). In any case, the solution according to an embodimentof the present invention lends itself to be implemented even with ahardware structure (for example, by electronic circuits integrated inone or more chips of semiconductor material), or with a combination ofsoftware and hardware suitably programmed or otherwise configured.

An embodiment provides a system comprising means configured forperforming each one of the steps of the above-mentioned method. Anembodiment provides a system comprising a circuitry (i.e., any hardwaresuitably configured, for example, by software) configured for performingeach one of the steps of the same method. However, the system may be ofany type (for example, based on physical and/or virtual machinesconnected among them in any way, such as via a local, wide area, global,cellular or satellite network and exploiting any type of wired and/orwireless connections, or even on a stand-alone computing machine),comprising the control server(s) only, the control server(s) and theaggregation server(s) or the control server(s), the aggregationserver(s) and the endpoints.

Generally, similar considerations apply if the system has a differentstructure or comprises equivalent components or it has other operativecharacteristics. In any case, every component thereof may be separatedinto more elements, or two or more components may be combined togetherinto a single element. Moreover, each component may be replicated tosupport the execution of the corresponding operations in parallel.Moreover, unless specified otherwise, any interactivity betweendifferent components generally does not need to be continuous, and itmay be either direct or indirect through one or more intermediaries.

Cloud computing is a model of service delivery for enabling convenient,on-demand network access to a shared pool of configurable computingresources (e.g., networks, network bandwidth, servers, processing,memory, storage, applications, virtual machines, and services) that canbe rapidly provisioned and released with minimal management effort orinteraction with a provider of the service. This cloud model may includeat least five characteristics, at least three service models, and atleast four deployment models.

Characteristics are as follows:

On-demand self-service: a cloud consumer can unilaterally provisioncomputing capabilities, such as server time and network storage, asneeded automatically without requiring human interaction with theservice's provider.

Broad network access: capabilities are available over a network andaccessed through standard mechanisms that promote use by heterogeneousthin or thick client platforms (e.g., mobile phones, laptops, and PDAs).

Resource pooling: the provider's computing resources are pooled to servemultiple consumers using a multi-tenant model, with different physicaland virtual resources dynamically assigned and reassigned according todemand. There is a sense of location independence in that the consumergenerally has no control or knowledge over the exact location of theprovided resources but may be able to specify location at a higher levelof abstraction (e.g., country, state, or datacenter).

Rapid elasticity: capabilities can be rapidly and elasticallyprovisioned, in some cases automatically, to quickly scale out andrapidly released to quickly scale in. To the consumer, the capabilitiesavailable for provisioning often appear to be unlimited and can bepurchased in any quantity at any time.

Measured service: cloud systems automatically control and optimizeresource use by leveraging a metering capability at some level ofabstraction appropriate to the type of service (e.g., storage,processing, bandwidth, and active user accounts). Resource usage can bemonitored, controlled, and reported, providing transparency for both theprovider and consumer of the utilized service.

Service Models are as follows:

Software as a Service (SaaS): the capability provided to the consumer isto use the provider's applications running on a cloud infrastructure.The applications are accessible from various client devices through athin client interface such as a web browser (e.g., web-based e-mail).The consumer does not manage or control the underlying cloudinfrastructure including network, servers, operating systems, storage,or even individual application capabilities, with the possible exceptionof limited user-specific application configuration settings.

Platform as a Service (PaaS): the capability provided to the consumer isto deploy onto the cloud infrastructure consumer-created or acquiredapplications created using programming languages and tools supported bythe provider. The consumer does not manage or control the underlyingcloud infrastructure including networks, servers, operating systems, orstorage, but has control over the deployed applications and possiblyapplication hosting environment configurations.

Infrastructure as a Service (IaaS): the capability provided to theconsumer is to provision processing, storage, networks, and otherfundamental computing resources where the consumer is able to deploy andrun arbitrary software, which can include operating systems andapplications. The consumer does not manage or control the underlyingcloud infrastructure but has control over operating systems, storage,deployed applications, and possibly limited control of select networkingcomponents (e.g., host firewalls).

Deployment Models are as follows:

Private cloud: the cloud infrastructure is operated solely for anorganization. It may be managed by the organization or a third party andmay exist on-premises or off-premises.

Community cloud: the cloud infrastructure is shared by severalorganizations and supports a specific community that has shared concerns(e.g., mission, security requirements, policy, and complianceconsiderations). It may be managed by the organizations or a third partyand may exist on-premises or off-premises.

Public cloud: the cloud infrastructure is made available to the generalpublic or a large industry group and is owned by an organization sellingcloud services.

Hybrid cloud: the cloud infrastructure is a composition of two or moreclouds (private, community, or public) that remain unique entities butare bound together by standardized or proprietary technology thatenables data and application portability (e.g., cloud bursting forload-balancing between clouds).

A cloud computing environment is service oriented with a focus onstatelessness, low coupling, modularity, and semantic interoperability.At the heart of cloud computing is an infrastructure that includes anetwork of interconnected nodes.

Referring now to FIG. 5, illustrative cloud computing environment 50 isdepicted. As shown, cloud computing environment 50 includes one or morecloud computing nodes 10 with which local computing devices used bycloud consumers, such as, for example, personal digital assistant (PDA)or cellular telephone 54A, desktop computer 54B, laptop computer 54C,and/or automobile computer system 54N may communicate. Nodes 10 maycommunicate with one another. They may be grouped (not shown) physicallyor virtually, in one or more networks, such as Private, Community,Public, or Hybrid clouds as described hereinabove, or a combinationthereof. This allows cloud computing environment 50 to offerinfrastructure, platforms and/or software as services for which a cloudconsumer does not need to maintain resources on a local computingdevice. It is understood that the types of computing devices 54A-N shownin FIG. 5 are intended to be illustrative only and that computing nodes10 and cloud computing environment 50 can communicate with any type ofcomputerized device over any type of network and/or network addressableconnection (e.g., using a web browser).

Referring now to FIG. 6, a set of functional abstraction layers providedby cloud computing environment 50 (FIG. 5) is shown. It should beunderstood in advance that the components, layers, and functions shownin FIG. 6 are intended to be illustrative only and embodiments of theinvention are not limited thereto. As depicted, the following layers andcorresponding functions are provided:

Hardware and software layer 60 includes hardware and softwarecomponents. Examples of hardware components include: mainframes 61; RISC(Reduced Instruction Set Computer) architecture based servers 62;servers 63; blade servers 64; storage devices 65; and networks andnetworking components 66. In some embodiments, software componentsinclude network application server software 67 and database software 68.

Virtualization layer 70 provides an abstraction layer from which thefollowing examples of virtual entities may be provided: virtual servers71; virtual storage 72; virtual networks 73, including virtual privatenetworks; virtual applications and operating systems 74; and virtualclients 75.

In one example, management layer 80 may provide the functions describedbelow. Resource provisioning 81 provides dynamic procurement ofcomputing resources and other resources that are utilized to performtasks within the cloud computing environment. Metering and Pricing 82provide cost tracking as resources are utilized within the cloudcomputing environment, and billing or invoicing for consumption of theseresources. In one example, these resources may include applicationsoftware licenses. Security provides identity verification for cloudconsumers and tasks, as well as protection for data and other resources.User portal 83 provides access to the cloud computing environment forconsumers and system administrators. Service level management 84provides cloud computing resource allocation and management such thatrequired service levels are met. Service Level Agreement (SLA) planningand fulfillment 85 provide pre-arrangement for, and procurement of,cloud computing resources for which a future requirement is anticipatedin accordance with an SLA.

Workloads layer 90 provides examples of functionality for which thecloud computing environment may be utilized. Examples of workloads andfunctions which may be provided from this layer include: mapping andnavigation 91; software development and lifecycle management 92; virtualclassroom education delivery 93; data analytics processing 94;transaction processing 95; and an aggregation service 96 configured touse a software application to aggregate local parameters into aggregatedparameters for use by the management server 210.

The present invention may be a system, a method, and/or a computerprogram product at any possible technical detail level of integration.The computer program product may include a computer readable storagemedium (or media) having computer readable program instructions thereonfor causing a processor to carry out aspects of the present invention.

The computer readable storage medium can be a tangible device that canretain and store instructions for use by an instruction executiondevice. The computer readable storage medium may be, for example, but isnot limited to, an electronic storage device, a magnetic storage device,an optical storage device, an electromagnetic storage device, asemiconductor storage device, or any suitable combination of theforegoing. A non-exhaustive list of more specific examples of thecomputer readable storage medium includes the following: a portablecomputer diskette, a hard disk, a random access memory (RAM), aread-only memory (ROM), an erasable programmable read-only memory (EPROMor Flash memory), a static random access memory (SRAM), a portablecompact disc read-only memory (CD-ROM), a digital versatile disk (DVD),a memory stick, a floppy disk, a mechanically encoded device such aspunch-cards or raised structures in a groove having instructionsrecorded thereon, and any suitable combination of the foregoing. Acomputer readable storage medium, as used herein, is not to be construedas being transitory signals per se, such as radio waves or other freelypropagating electromagnetic waves, electromagnetic waves propagatingthrough a waveguide or other transmission media (e.g., light pulsespassing through a fiber-optic cable), or electrical signals transmittedthrough a wire.

Computer readable program instructions described herein can bedownloaded to respective computing/processing devices from a computerreadable storage medium or to an external computer or external storagedevice via a network, for example, the Internet, a local area network, awide area network and/or a wireless network. The network may comprisecopper transmission cables, optical transmission fibers, wirelesstransmission, routers, firewalls, switches, gateway computers and/oredge servers. A network adapter card or network interface in eachcomputing/processing device receives computer readable programinstructions from the network and forwards the computer readable programinstructions for storage in a computer readable storage medium withinthe respective computing/processing device.

Computer readable program instructions for carrying out operations ofthe present invention may be assembler instructions,instruction-set-architecture (ISA) instructions, machine instructions,machine dependent instructions, microcode, firmware instructions,state-setting data, configuration data for integrated circuitry, oreither source code or object code written in any combination of one ormore programming languages, including an object oriented programminglanguage such as Smalltalk, C++, or the like, and procedural programminglanguages, such as the “C” programming language or similar programminglanguages. The computer readable program instructions may executeentirely on the user's computer, partly on the user's computer, as astand-alone software package, partly on the user's computer and partlyon a remote computer or entirely on the remote computer or server. Inthe latter scenario, the remote computer may be connected to the user'scomputer through any type of network, including a local area network(LAN) or a wide area network (WAN), or the connection may be made to anexternal computer (for example, through the Internet using an InternetService Provider). In some embodiments, electronic circuitry including,for example, programmable logic circuitry, field-programmable gatearrays (FPGA), or programmable logic arrays (PLA) may execute thecomputer readable program instructions by utilizing state information ofthe computer readable program instructions to personalize the electroniccircuitry, in order to perform aspects of the present invention.

Aspects of the present invention are described herein with reference toflowchart illustrations and/or block diagrams of methods, apparatus(systems), and computer program products according to embodiments of theinvention. It will be understood that each block of the flowchartillustrations and/or block diagrams, and combinations of blocks in theflowchart illustrations and/or block diagrams, can be implemented bycomputer readable program instructions.

These computer readable program instructions may be provided to aprocessor of a general purpose computer, special purpose computer, orother programmable data processing apparatus to produce a machine, suchthat the instructions, which execute via the processor of the computeror other programmable data processing apparatus, create means forimplementing the functions/acts specified in the flowchart and/or blockdiagram block or blocks. These computer readable program instructionsmay also be stored in a computer readable storage medium that can directa computer, a programmable data processing apparatus, and/or otherdevices to function in a particular manner, such that the computerreadable storage medium having instructions stored therein comprises anarticle of manufacture including instructions which implement aspects ofthe function/act specified in the flowchart and/or block diagram blockor blocks.

The computer readable program instructions may also be loaded onto acomputer, other programmable data processing apparatus, or other deviceto cause a series of operational steps to be performed on the computer,other programmable apparatus or other device to produce a computerimplemented process, such that the instructions which execute on thecomputer, other programmable apparatus, or other device implement thefunctions/acts specified in the flowchart and/or block diagram block orblocks.

The flowchart and block diagrams in the Figures illustrate thearchitecture, functionality, and operation of possible implementationsof systems, methods, and computer program products according to variousembodiments of the present invention. In this regard, each block in theflowchart or block diagrams may represent a module, segment, or portionof instructions, which comprises one or more executable instructions forimplementing the specified logical function(s). In some alternativeimplementations, the functions noted in the blocks may occur out of theorder noted in the Figures. For example, two blocks shown in successionmay, in fact, be executed substantially concurrently, or the blocks maysometimes be executed in the reverse order, depending upon thefunctionality involved. It will also be noted that each block of theblock diagrams and/or flowchart illustration, and combinations of blocksin the block diagrams and/or flowchart illustration, can be implementedby special purpose hardware-based systems that perform the specifiedfunctions or acts or carry out combinations of special purpose hardwareand computer instructions. In one embodiment, the system of the presentinvention may be or include a hardware device such as a computer,portable device, etc. In one embodiment, the hardware device is orincludes a special-purpose device (e.g., computer, machine, portabledevice) that comprises specialized, non-generic hardware and circuitry(i.e., specialized discrete non-generic analog, digital, and logic basedcircuitry) for (independently or in combination) particularized forexecuting only methods of the present invention. The specializeddiscrete non-generic analog, digital, and logic based circuitry mayinclude proprietary specially designed components (e.g., a specializedintegrated circuit, such as for example an Application SpecificIntegrated Circuit (ASIC), designed for only implementing methods of thepresent invention).

A computer program product of the present invention may include one ormore computer readable hardware storage devices having computer readableprogram code stored therein, said program code containing instructionsexecutable by one or more processors of a computing system (or computersystem) to implement the methods of the present invention.

A system of the present invention may include one or more processors,one or more memories, and one or more computer readable hardware storagedevices, said one or more hardware storage devices containing programcode executable by the one or more processors via the one or morememories to implement the methods of the present invention.

The descriptions of the various embodiments of the present inventionhave been presented for purposes of illustration, but are not intendedto be exhaustive or limited to the embodiments disclosed. Manymodifications and variations will be apparent to those of ordinary skillin the art without departing from the scope and spirit of the describedembodiments. The terminology used herein was chosen to best explain theprinciples of the embodiments, the practical application or technicalimprovement over technologies found in the marketplace, or to enableothers or ordinary skill in the art to understand the embodimentsdisclosed herein.

What is claimed is:
 1. A method, said method comprising: storing, by oneor more processors of a computer system, one or more policies, eachpolicy comprising an indication of one or more activities for executionon one or more corresponding endpoints, at least one of the activitiesof the policies being conditioned by a condition based on one or moreaggregated parameters, each aggregated parameter depending on one ormore local parameters of a corresponding group of a plurality of theendpoints; collecting, by the one or more processors, the localparameters from the corresponding endpoints; aggregating, by the one ormore processors, the local parameters into the aggregated parameters;distributing, by the one or more processors, each aggregated parameterat least to the corresponding endpoints of each policy comprising anyactivity conditioned on the aggregated parameter; and sending, by theone or more processors, at least the corresponding policies to theendpoints to cause each endpoint to apply each corresponding policy bycollecting any aggregated parameters of the policy on the endpoint andexecuting the activities of the policy according to the correspondingaggregated parameters.
 2. The method of claim 1, wherein at least one ofthe activities of the policies is conditioned by a further conditionbased on one or more further local parameters of a current endpoint ofthe corresponding endpoints wherein the policy is applied, saiddeploying at least the corresponding policies causing each endpoint toapply each corresponding policy by collecting any further localparameters of the policy on the endpoint and executing the activities ofthe policy according to the corresponding further local parameters. 3.The method of claim 1, wherein said distributing each aggregatedparameter comprises: uploading each aggregated parameter to a localstorage of at least the corresponding endpoints, said deploying at leastthe corresponding policies causing each endpoint to apply eachcorresponding policy by reading any aggregated parameters of the policyfrom the local storage of the endpoint.
 4. The method of claim 1, saidmethod comprising: storing, by the one or more processors, a mapping ofthe aggregated parameters to the corresponding endpoints; saiddistributing each aggregated parameter comprising: identifying thecorresponding endpoints of each aggregated parameter according to saidmapping; and distributing each aggregated parameter to the correspondingendpoints being identified.
 5. The method of claim 1, wherein saiddistributing each aggregated parameter comprises: distributing eachaggregated parameter in response to a significant change thereofaffecting the corresponding condition.
 6. The method of claim 1, whereinsaid aggregating the local parameters comprises: calculating theaggregated parameters according to a current value of the correspondinglocal parameters and/or to a distribution of the corresponding localparameters over time.
 7. The method of claim 1, said method comprising:determining, by the one or more processors, the corresponding group ofthe endpoints of at least one of the aggregated parameters according toone or more still further local parameters of the endpoints.
 8. Themethod claim 1, wherein each local parameter measures performance,workload, resource usage, location and user behavior of thecorresponding endpoint.
 9. The method of claim 1, wherein said storingone or more policies, said distributing each aggregated parameter andsaid deploying at least the corresponding policies are performed by oneor more control servers of the data processing environment.
 10. Themethod of claim 9, wherein said collecting the local parameters and saidaggregating the local parameters are performed by one or moreaggregation servers of the data processing environment, said methodcomprising: providing, by the one or more processors, the aggregatedparameters from the aggregation servers to the control servers.
 11. Themethod of claim 10, wherein said providing the aggregated parameterscomprises: providing the aggregated parameters from each aggregationserver to a plurality of the control servers and/or to a plurality oftenants of each control server.
 12. The method of claim 11, wherein atleast one of the aggregation servers is implemented by a cloud service.13. A computer program product, comprising one or more computer readablehardware storage devices having computer readable program code storedtherein, said program code containing instructions executable by one ormore processors of a computer system to implement a method, said methodcomprising storing, by the one or more processors, one or more policies,each policy comprising an indication of one or more activities forexecution on one or more corresponding endpoints, at least one of theactivities of the policies being conditioned by a condition based on oneor more aggregated parameters, each aggregated parameter depending onone or more local parameters of a corresponding group of a plurality ofthe endpoints; collecting, by the one or more processors, the localparameters from the corresponding endpoints; aggregating, by the one ormore processors, the local parameters into the aggregated parameters;distributing, by the one or more processors, each aggregated parameterat least to the corresponding endpoints of each policy comprising anyactivity conditioned on the aggregated parameter; and sending, by theone or more processors, at least the corresponding policies to theendpoints to cause each endpoint to apply each corresponding policy bycollecting any aggregated parameters of the policy on the endpoint andexecuting the activities of the policy according to the correspondingaggregated parameters.
 14. The computer program product of claim 13,wherein at least one of the activities of the policies is conditioned bya further condition based on one or more further local parameters of acurrent endpoint of the corresponding endpoints wherein the policy isapplied, said deploying at least the corresponding policies causing eachendpoint to apply each corresponding policy by collecting any furtherlocal parameters of the policy on the endpoint and executing theactivities of the policy according to the corresponding further localparameters.
 15. The computer program product of claim 13, wherein saiddistributing each aggregated parameter comprises: uploading eachaggregated parameter to a local storage of at least the correspondingendpoints, said deploying at least the corresponding policies causingeach endpoint to apply each corresponding policy by reading anyaggregated parameters of the policy from the local storage of theendpoint.
 16. The computer program product of claim 13, said methodcomprising: storing, by the one or more processors, a mapping of theaggregated parameters to the corresponding endpoints; said distributingeach aggregated parameter comprising: identifying the correspondingendpoints of each aggregated parameter according to said mapping; anddistributing each aggregated parameter to the corresponding endpointsbeing identified.
 17. A computer system, comprising one or moreprocessors, one or more memories, and one or more computer readablehardware storage devices, said one or more hardware storage devicecontaining program code executable by the one or more processors via theone or more memories to implement a method, said method comprising:storing, by the one or more processors, one or more policies, eachpolicy comprising an indication of one or more activities for executionon one or more corresponding endpoints, at least one of the activitiesof the policies being conditioned by a condition based on one or moreaggregated parameters, each aggregated parameter depending on one ormore local parameters of a corresponding group of a plurality of theendpoints; collecting, by the one or more processors, the localparameters from the corresponding endpoints; aggregating, by the one ormore processors, the local parameters into the aggregated parameters;distributing, by the one or more processors, each aggregated parameterat least to the corresponding endpoints of each policy comprising anyactivity conditioned on the aggregated parameter; and sending, by theone or more processors, at least the corresponding policies to theendpoints to cause each endpoint to apply each corresponding policy bycollecting any aggregated parameters of the policy on the endpoint andexecuting the activities of the policy according to the correspondingaggregated parameters.
 18. The computer system of claim 17, wherein atleast one of the activities of the policies is conditioned by a furthercondition based on one or more further local parameters of a currentendpoint of the corresponding endpoints wherein the policy is applied,said deploying at least the corresponding policies causing each endpointto apply each corresponding policy by collecting any further localparameters of the policy on the endpoint and executing the activities ofthe policy according to the corresponding further local parameters. 19.The computer system of claim 17, wherein said distributing eachaggregated parameter comprises: uploading each aggregated parameter to alocal storage of at least the corresponding endpoints, said deploying atleast the corresponding policies causing each endpoint to apply eachcorresponding policy by reading any aggregated parameters of the policyfrom the local storage of the endpoint.
 20. The computer system of claim17, said method comprising: storing, by the one or more processors, amapping of the aggregated parameters to the corresponding endpoints;said distributing each aggregated parameter comprising: identifying thecorresponding endpoints of each aggregated parameter according to saidmapping; and distributing each aggregated parameter to the correspondingendpoints being identified.